package com.ahui.ydd.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (YddCate)实体类
 *
 * @author King
 * @since 2022-11-13 11:17:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YddCate implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private Integer id;
    
    private String catename;
    /**
     * 字段图标class
     */
    private String icon;
    /**
     * 排序数字
     */
    private Integer sortNum;
    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    private String defaultData;

    //分类下文章数量
    @TableField(exist = false)
    private Integer num;
    //总条目数
    @TableField(exist = false)
    private Integer count;

    //页数
    @TableField(exist = false)
    private Integer totalPages;

    //分页条目数
    @TableField(exist = false)
    private Integer pageSize;

    //当前页
    @TableField(exist = false)
    private Integer currentPage;

}

